package com.jy.tdata.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jy.tdata.entity.AcrelAdw300;
import com.jy.tdata.vo.AcreAdwVo;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
@DS("taos")
@Mapper
public interface AcrelAdwMapper extends BaseMapper<AcrelAdw300> {
    @Select("select ts,act_t from acrel_adw300 where meter = #{meter} order by ts desc limit 1 ")
    AcreAdwVo selectActT(@Param("meter") String meter);

}
